package cn.cupk.corporateshuttlemanagesystem.result;


/**
 * 请求参数对象
 *
 * @author system
 */
public class RequestParams<T> {

	/*** 分页参数：页码 */
	private Integer pageNum = 1;
	
	/*** 分页参数：每页大小 */
	private Integer pageSize = 10;


	public static final String AUTO_GENERATED_REQUEST_ID_PREFIX = "@QZMAN_";
	

	private T data;

	public Integer getPageNum() {
		return pageNum==0?1:pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}


}
